gnodroid_sources = [
  'main.cpp',
  #'gnodroid-window.cpp',
  'ServiceManager.cpp',
  'ModuleManager.cpp',
##Module
  'Module.cpp',
  'Module/ModuleConnection.cpp',
  'Module/ModuleInfomation.cpp',
  'Module/ModuleAppmanager.cpp',
  'Module/ModuleTaskmanager.cpp',
##Service
  'Service.cpp',
  'Service/ServiceConnection.cpp',
  'Service/ServiceInfomation.cpp',
  'Service/ServiceAppmanager.cpp',
  'Service/ServiceTaskmanager.cpp',
##Task
  'Task.cpp',
  'Task/TaskInstallapp.cpp',
  'Task/TaskUninstallapp.cpp',
  'Task/TaskExportapp.cpp',

  'AdbHelper.cpp',
  'MessageHelper.cpp',
  'App.cpp',
  'Mainwin.cpp',
  'WatchDogSource.cpp',
  'Task.cpp',
]

inc_dir = include_directories('Service',
                              'Module',
                              'Task',
)

gnodroid_deps = [
  dependency('gtkmm-3.0', version: '>= 3.18'),
  dependency('threads'),
]

gnome = import('gnome')

gnodroid_sources += gnome.compile_resources('gnodroid-resources',
  'gnodroid.gresource.xml',
  c_name: 'gnodroid'
)

executable('gnodroid', gnodroid_sources,
  dependencies: gnodroid_deps,
  install: true,
  include_directories: inc_dir,
)


subdir('Test')
